import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.image.BufferedImage;
import java.io.File;

import javax.imageio.ImageIO;
import javax.swing.Timer;

import Framework.*;


public class win_MapExample extends pnl_Ancestor implements ActionListener{
	btn_TopButtons b_TopButtons 	= new btn_TopButtons("My Little Pony");	
	// Setting up bottom menu
	btn_BottomButtons 		b_BottomButtons = new btn_BottomButtons(6);
	btn_Ancestor 			btn_btm_Playlist = new btn_Ancestor("Playlist");
	btn_Ancestor 			btn_btm_Audio = new btn_Ancestor("Audio");
	
	pnl_Scrollable pnl_Map = new img_PinchZoom( new Rectangle(0,0,800,600), new Rectangle (0,0,3506,2481));
	
	//private BufferedImage AdelaideMap = ImageIO.read(new File("img/AdelaideRoad.jpg"));
	public win_MapExample(){
		super();
		this.setBackgroundImage("img/myLittlePony.jpg");
		pnl_Map.i_InternalFrame.setBackgroundImage("img/AdelaideRoad.jpg");

		
		this.add(pnl_Map);
	}

	
	public void actionPerformed(ActionEvent e) {
		
		if (e.getSource().equals(1)){
				
		}
	}	
}

	
	
	


	
	